/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package model.actions.navigation;

import javax.servlet.http.HttpServletRequest;
import model.Action;

/**
 *
 * @author Arturo González
 */
public class Navegacion implements Action {

    public String procesar(HttpServletRequest request) {



        String path = request.getParameter("action");

        if (path.equals("wall")) {
            path = "wall";
        } else if (path.equals("homeUser")) {
            path = "homeUser";
        }

        String url = "/WEB-INF/vista/" + path + ".jsp";



        return url;
    }
}
